<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript"src="${pageContext.request.contextPath}/resources/jquery/jquery-2.2.3.min.js"></script>

<link rel="stylesheet" href="${pageContext.request.contextPath}/js/layui/css/layui.css">
<script type="text/javascript"src="${pageContext.request.contextPath}/js/layui/layui.js"></script>
	
</head>
<body>
	<form method="post"
		action="${pageContext.request.contextPath}/driver/uploadTest"
		enctype="multipart/form-data">
		<input type="file" name="file" value="请选择文件" /> <input type="submit"
			value="提交" />
	</form>
	<input type="button" id="test1" value="按钮" />

	<!-- elements -->
	<ul class="layui-nav">
  <li class="layui-nav-item">
    <a href="">控制台<span class="layui-badge">9</span></a>
  </li>
  <li class="layui-nav-item">
    <a href="">个人中心<span class="layui-badge-dot"></span></a>
  </li>
  <li class="layui-nav-item">
    <a href=""><img src="http://t.cn/RCzsdCq" class="layui-nav-img">趁年少如花，把我唱给你听！</a>
    <dl class="layui-nav-child">
      <dd><a href="javascript:;">修改信息</a></dd>
      <dd><a href="javascript:;">安全管理</a></dd>
      <dd><a href="javascript:;">退了</a></dd>
    </dl>
  </li>
</ul>
 
<script>
//注意：导航 依赖 element 模块，否则无法进行功能性操作
layui.use('element', function(){
  var element = layui.element;
  
  //…
});
</script>


	<script type="text/javascript">

		$('#test1').on('click', function() {
			layer.open({
				type : 1,
				area : [ '600px', '360px' ],
				shadeClose : true, //点击遮罩关闭
				content : '\<\div style="padding:90px;">自定义内容\<\/div>'
			});
		});
	</script>
</body>
</html>